Heat mapping in a flood fill mesh radio network

ABSTRACT

Disclosed is an improved implementation of a flood fill mesh radio network that utilizes probability forwarding for rebroadcasting network messages. The forwarding probability may be determined based on analyzing a neighbor topology map constructed by each network node relative to its neighbor nodes on the network and derived from state information supplied in synchronization frames. The forwarding probability may comprise a statistical probability that a message frame received by a network node will be forwarded to the intended destination network node by one or more of the network node&#39;s neighbor network nodes. The forwarding probability may also be based on constructing a heat map of hot nodes that are identified as those originating nodes in originating node/forwarding node pairs that are the first to forward message frames along paths in the network relative to duplicate message frames received from different originating/forwarding node pairs along different paths.

TECHNICAL FIELD

This disclosure relates generally to wireless networks, and more particularly to systems and methods for efficient forwarding of broadcast messages in mesh network based on probability determinations.

BACKGROUND

Communications networks generally involve a configuration of network nodes (e.g., network servers, database servers, etc.) and connected channels that communicate with one another and that relay network messages from a source network node to a destination network node through their respective channels over the network. Network nodes are generally capable of creating, encapsulating and broadcasting messages from one network node to the next. Given an intended destination node, communications networks may be configured to determine (i) what pathway of nodes the network message should be relayed through to ensure arrival at the destination (ii) how quickly the network message will arrive (iii) how to know when the network message has arrived (iv) how much it costs to send the network message (in terms of time and network resources as well as financial resources) and (v) how does sending the message impact the resources of neighboring nodes that will relay the message to the destination. In general, there is a trade-off between how adaptable a communication network is and how much that adaptability costs in terms of network throughput, power, and resources.

One category of communications networks includes deterministic networks. Deterministic networks are also called linear networks. Deterministic (linear) networks include addressing schemes to ensure messages reach their intended destination and routing protocols that attempt to ensure messages take the “least cost” route from the source node to the destination node. The term “least cost” can refer to a vector comprising any number of scalar quantities such as monetary cost, power cost, memory cost, time to destination cost, etc., or combinations thereof. Typically, costs can be broken down into costs of communication channels, network node resources, power required to service network nodes and transmission channels, and time required to transmit and deliver the network messages.

But deterministic networks have a number of drawbacks. First, deterministic routing protocols inhibit the ability of nodes in a network to behave dynamically in their physical relationship with one another. There are ‘adaptable’ network routing protocols for deterministic networks, but those protocols take time to realize that they need to adapt, as well as additional time to reconfigure themselves for the change in network topology. This may work well where routes are relatively static (e.g., when a node goes down, another one takes over), but they are known to perform poorly in a dynamic network where the nodes are physically moving in relation to one another all the time. Such a network may include networks comprising small, low-cost and low-power mobile radio devices. When network nodes consist of mobile radios, reconfiguration of a deterministic network consumes time and power to limited useful effect and only to the extent that the device battery can sustain a charge. In a dynamic scenario, the network nodes could spend all their time reconfiguring routes and never sending any useful messages.

In addition, the resources required for maintaining routes in deterministic networks are relatively high. This is generally not a problem for static devices embedded in a network where the cost of the resources and power can scale with the volume of messages to be routed. But for a small, battery-operated device, its resources and power consumed by its resources can carry a much higher relative cost premium. Also, many networks are configured such that each communication channel is one-to-one. This means that one node talks to only one other node in the network at a given instant. Further, even if the network nodes have multiple channels, they are still communicating separately with each adjacent node on each channel which requires multiple transmissions of any given message, one transmit per channel, per node, and in many cases with significant attendant protocol overheads.

Another category of networks includes mesh networks. Mesh networks generally do not inhibit or limit dynamic reshaping of a network's topology. Here, a mesh network is defined as a network of nodes that communicate with correspondent network nodes using only broadcast network messages without using an addressing scheme or routing protocols. As used in this disclosure “correspondent network node(s)” or “correspondent(s)” refers to a group of network nodes that are in direct communication with each other; that is, they are each in range of each other's broadcasts (also referred to as “neighbor(s)” or “adjacent” network nodes). Each of the network nodes may use mobile radios to communicate with its adjacent network nodes. The mobile radios may function as repeaters in the network without requiring manual configuration. As used herein a “broadcast” network message refers to a single network message that is simultaneously communicated to the multiple network nodes on a network. When network messages are broadcast from any given node, the messages can be received by each of its neighbor nodes, and each neighbor can be configured to rebroadcast each network message to its neighbors, and so on, until the network messages are propagated throughout the mesh network. Each network node includes a receiver and a transmitter, and each has the ability to go to sleep when not in use, thus producing energy savings.

The specific category of the mesh networks described above is a “flood fill” mesh network. Flood fill mesh networks also do not use predetermined routes. Flood fill mesh networks are characterized in that any given network node only knows information about, and communicates with, adjacent network nodes on the network. In one embodiment, the term “adjacent” network node means any network node within direct range of any given network node's radio. Network nodes in a flood fill mesh network only know information about their adjacent neighbor nodes and requires no other memory, network tracking, or routing tables. To create such a network, each network node may be in range of at least one other network node and regularly broadcasts to at least one other node on the network. Further, in flood fill mesh networks, each node does not know (or care) if any given network node is a destination node for a particular network message or if it is a node along one of the pathways to the destination node. In a flood fill mesh network, node names and addresses are not required, and if used, are not required to be unique. In addition, radio transmissions from network nodes are broadcast transmissions to any and all neighbors simultaneously which avoids redundant message transmissions to each individual neighbor.

One advantage of flood-fill mesh networks is that they work well with mobile networks because flood fill networks are transparent to changes in the physical locations of the network nodes at any and all times. If the flood filling operations are performed adequately, then whichever network node a particular message was destined for will eventually receive it. Thus, building routing tables for each change is redundant.

However, flood fill mesh networks also have a number of drawbacks including (i) message path duplication—all messages traverse all paths to ensure the intended recipient is found, resulting in bandwidth overloading (ii) message replication—each node rebroadcasts each message, which without mitigation can lead to an exponential message replication and network overload (e.g., nodes receiving messages they already sent out) and (iii) resource overloading—each message travels to each node on the network which can lead to network message density saturating the nodes. And while flood fill mesh networks do not require use of node addresses, each network node still needs to know when a message arrives that was destined for it.

Bluetooth Low Energy Mesh (“BLE Mesh”) is a contemporary example of a flood fill mesh network. In order to mitigate some of these drawbacks, BLE Mesh networks use various techniques, including (i) restricting the size of each mesh frame (e.g., to 8 bytes) to avoid resource overloading (ii) defining globally unique node addresses for source/destination node pairing in the network and (iii) using a long integer message identifier (e.g., 32-bit serial number) that can be used to identify each unique message received to prevent message replication. The network messages are stored in a message cache wherein the long integer message identifiers (a.k.a. serial numbers) can be compared against those of newly received network messages to identify any messages that have already been received previously.

The long integer message identifiers can be combined with a separate message “time to live” (“TTL”) value to help manage message longevity and the message cache size. BLE Mesh networks are configured to use the combined TTL value with the long serial number to uniquely identify messages in the network. Network messages can be configured to be deleted when the TTL count expires. The TTL value basically indicates that a message can only travel so many hops across the nodes in the network. By analyzing the serial number of each received message, a node in a BLE Mesh network can determine it has already received a particular message and can thereafter decide to drop the message.

The downside to BLE Mesh networks is that they require a rather large table (or other data structure) of serial numbers to be maintained at each network node which can lead to local resource issues. In addition, BLE Mesh networks have very low mesh bandwidth and overall throughput, and correspondingly high resource costs—e.g., they incur significant memory and power requirements in dealing with protocol overheads.

SUMMARY

Disclosed is an improved implementation of a flood fill mesh radio network that utilizes probability forwarding for rebroadcasting network messages. The forwarding probability may be determined based on analyzing a neighbor topology map constructed by each network node relative to its neighbor nodes on the network and derived from state information supplied in synchronization frames. The forwarding probability may comprise a statistical probability that a message frame received by a network node will be forwarded to the intended destination network node by one or more of the network node's neighbor network nodes. The forwarding probability may also be based on constructing a heat map of hot nodes that are identified as those originating nodes in originating node/forwarding node pairs that are the first to forward message frames along paths in the network relative to duplicate message frames received from different originating/forwarding node pairs along different paths.

BRIEF DESCRIPTION OF THE DRAWINGS

The above aspects and other features of the innovative techniques described in this disclosure will become apparent to those skilled in the art upon review of the following description in conjunction with the accompanying figures, wherein:

FIG. 1 depicts an overview block diagram of exemplary aspects of a wireless mesh network upon which the embodiments described in this disclosure may be implemented.

FIG. 2A depicts an example embodiment of a message format for a mesh network in accordance with the techniques described in this disclosure.

FIG. 2B depicts an example embodiment of a synchronization frame format for a mesh network in accordance with the techniques described in this disclosure.

FIGS. 3A-3B depict conceptual timing diagrams of example embodiments of a process for synchronizing nodes in a mesh network in accordance with the techniques described in this disclosure.

FIGS. 4A-4B depict flow charts of an example embodiment of a process for synchronizing network nodes in a mesh network in accordance with the techniques described in this disclosure.

FIGS. 5A-5E depict probability forwarding among nodes in a mesh network in accordance with the techniques described in this disclosure.

FIG. 6 depicts a flow chart of an example embodiment of a process for probability forwarding of messages in a mesh network in accordance with the techniques described in this disclosure.

FIGS. 7A-7C depict an example embodiment of messages passing through network nodes in a heat map mesh in accordance with the techniques described in this disclosure.

FIG. 8 depicts a flow chart of an example embodiment of a process for probability forwarding of messages in a mesh network used in combination with the heat mapping feature in accordance with the techniques described in this disclosure.

FIG. 9 depicts an example overview block diagram of a typical node radio system upon which the embodiments described in this disclosure may be implemented.

DETAILED DESCRIPTION OF EMBODIMENTS

Throughout this description numerous details are set forth in order to provide a thorough understanding of the various embodiments described in this disclosure which are provided as illustrative examples so as to enable those of ordinary skill in the art to practice such embodiments. It will be apparent to those skilled in the art, however, that the techniques described in this disclosure may be practiced without some of these specific details, or in other instances, well-known structures and devices may be shown in block diagram form to avoid obscuring the principles and features of the techniques described in this disclosure. The drawings and examples provided are not intended to limit the scope to any single embodiment, as other embodiments are possible. In addition, where certain elements or features may be partially or fully implemented using known components, in certain instances only those portions of such known components that are necessary for an understanding of the embodiments are described, and detailed descriptions of other portions omitted so as not to obscure the description of the salient aspects and features of the novel techniques disclosed herein. Moreover, the applicant does not intend for any term or phrase in the specification or claims to be ascribed any uncommon or special meaning unless expressly set forth in this disclosure.

A Mesh Radio Network Implementation

The techniques described in this disclosure pertain to systems and methods for implementing an improved flood fill mesh network that utilizes low power and does not require any network addressing or routing protocol for network message delivery. In one embodiment of the mesh protocol all communications among network nodes are message broadcasts. In at least certain embodiments, network messages are only communicated to a network node's correspondents via broadcast network frames. In such embodiments, the network nodes are configured to only broadcast, listen or sleep—there is no notion of one network node individually communicating with one other node. Network messages propagate throughout the wireless network based on each correspondent node in turn rebroadcasting its received messages to its correspondent nodes.

Coordinated synchronization across network nodes can be achieved by each network node broadcasting synchronization frames to its correspondent nodes within a synchronization window time period, and thereafter adjusting its own start time for the next synchronization period to converge synchronization of the network nodes communicating on the wireless network. A guard band may also be utilized to account for any clock drift and signal path delays between any two communicating network nodes.

FIG. 1 depicts an overview block diagram of exemplary aspects of a wireless mesh network upon which the embodiments described in this disclosure may be implemented. In this configuration network communications can be passed between the web servers 120 and computer 150 and the various network mesh nodes 1 to 7 via a network gateway 130. Web servers 120 and computer 150 may communicate with and access data from any of the mesh nodes 1 to 7 via one or more wired or wireless cloud networks 110. Web servers 120 may include cloud-based web services such as Amazon Web Services (AWS) or Microsoft Azure. Each mesh node 1 to 7 communicates with its neighbors on the wireless mesh network. As shown, mesh node 3 in the diagram is in communication only with mesh node 1 and mesh node 4 that are node 3's neighbor nodes on the mesh network.

The network can be adapted for coordinated synchronization across network nodes. In aspects, this can be accomplished by each network node broadcasting synchronization frames to its neighbors listening on the network, and thereafter adjusting its own start time for the next synchronization period (“synchronization window”) to account for any clock drift between itself and any adjacent broadcasting network nodes. Synchronization frames can be used to synchronize network nodes during the synchronization window, to indicate current mesh parameters and node state, to indicate the adjacent neighbors, and also to show network message frame receipts for network messages received. In one aspect the timing of the next synchronization window can be determined based on the receipt time of the synchronization frames received from the node's neighbors.

In order to avoid network message broadcast collisions on the network, the network message frame delivery methodology may be based on statistical probability mapped across the network with little or no network-wide node tracking or routing tables needed for message delivery. Broadcast collisions can be avoided based on configuring each network node to broadcast its synchronization frames at different times within the synchronization windows and to broadcast network messages at different times such that the probability of any two network nodes broadcasting a message frame/synchronization frame at the same moment within the same time window is substantially unlikely to occur. In a preferred embodiment, the synchronization and message frames may be broadcast at times selected randomly within the synchronization window. In a preferred embodiment, each node configures the timing of its own broadcasts, entirely independently of any other node or other influence, and prior to each synchronization window.

Further, the embodiments described in this disclosure are configured to reduce the resources and power required by conventional flood fill mesh networks (e.g., BLE Mesh). Network nodes can be configured to consume less power while maintaining synchronization with other network nodes. Each network node includes its own internal clock and may be configured to reduce power consumption by going into a sleep state for a certain percentage of time (e.g., 95% of the cycle time), and then waking up periodically to synchronize with other nodes on the network. In one embodiment the improved flood fill mesh radio network may be used in conjunction with sensor networks or various IoT applications.

Definitions

For purposes of this disclosure the following terms have a meaning with respect to the described methods and techniques as follows:

Listen window (“LW”)—that period of time that nodes are awake and listening. The listen window is greater than or equal to, and fully encloses, the synchronization window.

Synchronization window (“SW”)—that period of time that nodes are awake, communicating and listening for communications from other nodes in the network.

Guard Interval (“GI”)—that period of time from the start of the listen window time to the start of the synchronization window time period.

Useful message—that part of a message that conveys useful information to the recipient and is not used in facilitating the transport of the message through the network.

Message Frame—a frame designed to convey a useful message.

Synchronization frame—a frame designed to convey mesh synchronization and control information.

Synchronization Interval—the time between successive time periods in which the network nodes are scheduled to wake up and send and receive network frames.

Message overhead—all other message bits transmitted that are not defined as useful to the application, including any and all bits used for message management during message transport.

Useful Message Power—total power cost, per bit, of sending a useful message.

Neighbor Node—a network node, designated as such, based on node proximity and/or link quality.

Neighbor Table—a table of neighboring network nodes determined to be proximate to a network node.

Message Receipt—indication that a particular message has been received which may also include the time the message was received or the age of the message in relation to other messages.

Message Receipt Table—a table of message receipts.

Forwarding Probability—the probability that any given message will be selected for rebroadcast by any given node.

The notion of a useful message may be described as that part of a message that conveys useful information to the recipient but that is not used in facilitating the transport of the message. That is, all protocol and routing bits are not defined as useful even though they may be required for routing. Such bits are referred to as “message overhead” bits. FIG. 2A depicts an example embodiment of a message format for a mesh network in accordance with the techniques described in this disclosure. In the illustrated embodiment network message 200 includes a message frame 201 comprising message overhead bits 202, such as protocol and routing bits, and a message payload or useful message 203.

Synchronized Communications

It is important that synchronization of network node communications be coordinated among the nodes in the network. Synchronization allows nodes to power down between synchronization windows. Synchronization frames may be used for maintaining synchronization among neighboring nodes in communication over a mesh network. FIG. 2B depicts an example embodiment of a synchronization frame format for a mesh network in accordance with the techniques described in this disclosure. Synchronization frame 205 includes a frame type designator 206, a sender's neighbor table 204, and a sender's message receipt table 208. In some embodiments the sender's message receipt table 208 may be omitted.

Synchronized clocks internal to the network nodes (not shown) can be used to compensate for any frequency drift error between the internal clocks of two network nodes communicating on the network. It is well known that temperature is the primary factor in frequency drift error for clocks that utilize crystal oscillators/resonators or silicon-based microelectromechanical systems (“MEMS”) oscillators/resonators. With frequency drift error, over time the internal clocks of any two network nodes will eventually move completely out of synchronization and no longer be able to communicate. It is possible to use low-cost, low-power oscillators/resonators for measuring short time intervals with sufficient accuracy. Low-frequency oscillators/resonators are suitable because current consumption can increase significantly with higher-frequency oscillators/resonators. Tuning-fork crystals, for example, typically have a lower frequency range of 10 kHz to 200 kHz in fundamental mode and a maximum drive level of 1 micro-watt (μW) which can make tuning-fork crystals a good choice for use as a low-power crystal oscillator in accordance with the techniques described in this disclosure. Software can additionally be used to reduce frequency drift error by correcting measured frequency values based on the manufacturer's calibration, for example. MEMS oscillators/resonators with low frequency drift (e.g., 5 ppm or less) can also be used in place of crystal oscillators/resonators with at least certain of the embodiments described in this disclosure.

Whether by using low-frequency crystal/MEMS oscillators/resonators, software techniques, or combinations thereof, it is possible to reduce frequency drift down to 5 ppm (parts per million) or less. A frequency drift of 5 ppm provides a worst-case frequency drift between any two clocks on the order of 5 milliseconds over an interval of 20 minutes. Therefore, the maximum frequency drift error between any two communicating network nodes on a synchronization interval of 20 minutes may be constrained to 10 milliseconds (double that of each individual node). By limiting the maximum radio sleep time to approximately 20 minutes, a maximum synchronization window divergence of only 10 milliseconds can arise in response to the clock drift error between two communicating network nodes, which can be easily mitigated in the mesh design using a guard interval, for example, as set forth in detail below.

The network nodes on the mesh network can be adapted to broadcast synchronization frames 205 to their neighbor network nodes. In one embodiment each network node can be configured to broadcast one synchronization frame 205 for each synchronization interval. The synchronization frames 205 provide certain detailed information regarding the most recent message frames received from any given neighbor in the mesh network. Synchronization frames 205 may also include “state information” of a network node that can be communicated to the other nodes on the network. The state information may include timing information for network node synchronization and may also include a network node's neighbor table.

Providing the state information within synchronization frames 205 allows neighbor network nodes to (i) maintain basic information and coordinate message delivery among network nodes (ii) make rebroadcast decisions such that there is a reduction in overall message replication in the network, and/or (iii) improve network bandwidth by not forwarding network messages in cases where a message is statistically more likely to be forwarded by at least one of the node's neighbor nodes, and thus can be safely dropped. Network messages that are received can also be buffered in a pending message queue in memory and can be flagged in the pending message queue as having already been received by a particular network node (and therefore not worthy of rebroadcast). This determination can be based on statistical probability.

Also important is determining which nodes are neighboring nodes (what nodes can be heard on the network). This may be determined based on the node's proximity or based on the quality of the communications link between nodes. Accordingly, and in some cases, nodes may just ignore other nodes even though they may be able to hear their network traffic.

Provided in this present disclosure is a description of an example system for implementing the improved flood fill mesh radio network as set forth in this disclosure. Although certain elements may be depicted as separate components, in some instances one or more of the components may be combined into a single device or system. Likewise, although certain functionality may be described as being performed by a single element or component within the system, the functionality may in some instances be performed by multiple components or elements working together in a functionally coordinated manner.

In addition, hardwired circuitry may be used independently or in combination with software instructions to implement the techniques described in this disclosure. The embodiments are not limited to any specific combination of hardware or software. The described functionality may be performed by custom hardware components containing hardwired logic for performing operations, by general-purpose computer hardware containing a memory having stored thereon programmed instructions for performing operations, or by any combination of computer hardware and programmed components. The embodiments may also be practiced in distributed computing environments, such as in a private or public cloud network, where operations may be performed by remote data processing devices or systems that are in communication with one another via one or more wired or wireless networks.

In at least certain embodiments the system comprises a mobile communications device configured for implementing a network node in a mesh network. The mobile communications device may include a processor, memory, internal clock, and a network interface for communicating over one or more wired or wireless computer networks. The mobile communications device may also include a radio for communicating with a plurality of network nodes over a wireless radio network. Each network node on the wireless radio network may be configured to communicate only with its correspondent network nodes via broadcast network messages. Each network node may be configured for rebroadcasting network messages it receives to its correspondent network nodes on the wireless radio network. In one embodiment, this can be performed without requiring any addressing scheme or network routing protocol.

In addition, the following processes and/or techniques can be used with various aspects of the improved flood fill mesh radio network described in this disclosure. It is noted that the methods and processes described below are exemplary in nature and are provided for illustrative purposes, and not intended to limit the scope of the disclosure to any particular example embodiment. For instance, processes in accordance with some embodiments described in this disclosure may include or omit some or all of the operations described below, or may include operations in a different order than described. The particular processes described are not intended to be limited to any particular set of operations or order of operations exclusive of all other potentially intermediate operations or different ordering of the operations. In addition, the operations may be embodied in computer-executable code, which may be adapted to cause a general-purpose or special-purpose computer hardware to perform certain operations. In other instances, these operations may be performed by specific hardware components or hardwired circuitry, or by any combination of programmed computer components and customized computer hardware and/or circuitry.

In at least certain embodiments, a process for implementing a mesh network at a network node comprising a mobile device that includes a processor, a memory, an internal clock, and a radio for communicating with a plurality of network nodes over a wireless radio network. Each network node on the wireless radio network may be configured to communicate only with its correspondent network nodes via broadcast network messages. Each network node may also be configured for rebroadcasting network messages it receives to its correspondent network nodes on the wireless radio network. In one set of features, the techniques described in this disclosure can perform these operations without requiring any addressing scheme (particularly a static addressing scheme) or network routing protocol.

In one preferred embodiment there are no centrally generated clocks and each node derives its own synchronization time in relation to its neighbors for distributed time synchronization. FIGS. 3A-3B depict conceptual timing diagrams of example embodiments of a process for synchronizing nodes in a mesh network in accordance with the techniques described in this disclosure. In the illustrated embodiment of FIG. 3A the synchronization process 300 for network node 322 includes a synchronization interval 312, a listen window 314, a guard interval 320, a synchronization window 316, and a next synchronization window 318 representing a subsequent synchronization cycle. The synchronization interval 312 represents the time interval between successive periods in which the network nodes are scheduled to wake up and communicate. The radio does not need to listen all the time. When a network node is first turned on, it may listen for network traffic for the duration of the listen window 314 time period. The listen window 314 may be configured to have a duration that is long enough to ensure network nodes receive any network messages from their correspondent nodes that are already participating in synchronized communications on the network. If there are no correspondents in range, then a network node can simply start operating its own listen window 314 and synchronization window 316, and wait for the next participant to join in the communication on the network. But if there are network nodes already communicating on the network, a newly joining network node may simply synchronize with the existing group of correspondent nodes.

Synchronization frames 205 can be used to self-synchronize the nodes in the mesh network, as well as to synchronize each node with its neighbors. In at least certain embodiments the synchronization frames 205 may be configured to establish parameters for the listen window 314, for instance to facilitate acknowledging receipt of synchronization frames from correspondent nodes. Each correspondent node runs its own internal own clock and no two clocks are exactly the same. Synchronization frames may serve to inform correspondent nodes of the timing when its correspondents started their respective listen windows 314.

Each network node 322 can adjust its own start time for its next listen window 318 to account for any difference in timing between communicating nodes. In one embodiment the next listen window 318 can be set to an average value for the collective node clocks participating in a group of correspondent nodes (based on maximum clock drift between any two network nodes). These settings can change over time as the network and its traffic evolves.

Synchronization frames are important for timing because they include offset timing (delta) from the beginning of the synchronization window until the time a node communicates its synchronization frame onto the network. In certain aspects this information is included in the network node's state information loaded into the synchronization frames at transmission. Network nodes 322 may obtain this offset information from the synchronization frames received from their neighboring nodes, and calculate the time period for the synchronization interval 312 by relating the offset timing the network nodes receive from their correspondents with their own offset. And they may do so recursively each time a new synchronization frame is received. In at least certain aspects each network node can be configured to communicate one synchronization frame per synchronization window 316 to its neighboring nodes. In some cases the synchronization of the nodes communicating on the network may be configured to converge within two or three cycles.

Any synchronization frames 205 may be specified to arrive at times within the synchronization window 316 from time T2 to time T3. T2 refers to the time at which the synchronization window 316 commences for the network nodes 322 and T3 refers to the time at which the synchronization window 316 closes. T3 minus T2 therefore defines the synchronization window 316. Each neighbor node 322 can thereafter adjust its own start time for the next synchronization window (or next scheduled wakeup time T4) based on the synchronization frame in order to synchronize the nodes communicating on the network and to account for clock drift between any two network nodes.

In addition, because oscillators/resonators are only accurate within a certain bound, a guard interval 320 can be used to compensate for the temperature drift between internal clocks of nodes communicating on the network. In FIG. 3A the guard interval 320 is shown as the time interval between T1 and T2. T1 refers to the scheduled wakeup time for the network node and T2 refers to the time at which the synchronization window 316 commences at the end of the guard interval 320. A guard interval refers to a (relatively short) time interval to allow for a certain degree of frequency drift error (also referred to herein as clock drift or clock jitter) between the respective internal clocks of any two adjacent nodes communicating on the network. The guard interval 320 can be used by network nodes 322 to wake up and broadcast their respective synchronization frames before the start of the synchronization window 316 begins. In certain features the duration of the guard interval 320 may depend on the length of the synchronization window 316 and/or synchronization interval 312.

In one embodiment the guard interval 320 can be set to double the anticipated clock drift error between any two communicating nodes. This can be useful in worst cases where the frequency drift of the internal clock of one of the communicating network nodes is in the opposite direction as the frequency drift of the internal clock of the other communicating network node. Thus the guard interval 320 can be configured such that all other neighbor nodes 322 on the network are relatively certain to wake up within the guard interval (plus or minus). Doubling the frequency drift error ensures sufficient time for all nodes to wake up and broadcast their synchronization frames within the guard interval 320.

In reality, and depending on the number of neighbors, it is not a calamity if clock drift is more than the guard interval 320. Any given neighbor's synchronization frame only has a low probability of being broadcast at the start of the synchronization window and multiple neighbors provide multiple opportunities to resynchronize. For this reason, the guard interval 320 may be configurable and may be tuned as part of system development to best suit application circumstance.

A synchronization timer (not shown) can be set internally by each network node with a value between T2 and T3 to initiate its listen window 314. In one embodiment the listen window 314 can be configured to start before the synchronization window 316 by the duration of the guard interval 320 to compensate for the maximum anticipated clock drift between the internal clocks of any two communicating nodes. The duration of the listen window 314 can be set beforehand (e.g., predetermined) or it can be dynamically determined between communicating nodes over time. The listen window 314 may expand over time to alleviate collisions. It may also contract over time to reduce redundant listening time.

FIG. 3B depicts conceptual timing diagrams of an example embodiment of a process for synchronizing nodes in a mesh radio network in accordance with the techniques described in this disclosure. Each of the network nodes 322 a and 322 b communicating on the wireless mesh network according to embodiments described herein can adjust its own synchronization intervals 312 to synchronize with its correspondents on the mesh network. In the illustrated embodiment, network node 322 a is shown to have a scheduled wakeup time at T1 a and a synchronization interval 312 a that expires at time T4 a. T4 a is the scheduled beginning of the next listen window cycle 118 a. Network node 322 b is shown to have a scheduled wakeup time at T1 b and a synchronization interval 312 b that expires at T4 b. T4 b is the scheduled beginning of the next listen window cycle 118 b.

In operation at T1 a, network node 322 a wakes up and initiates its listen window timer (not shown). In at least certain embodiments this may also refer to a synchronization window timer or a guard interval timer, or any combination thereof. At some time lapse Ata after node 322 a wakes up, a synchronization frame SF 305 a is broadcast by node 322 a to node 322 b on the mesh network which is received at node 322 b at time Ta. Note, any transmission delays due to network delays and signal quality have been ignored for purposes of this explanation, but persons of ordinary skill in the art would understand that network transmission delays would also be accounted for and addressed accordingly in a real-world design. Also note, synchronization frame SF 305 a is communicated after the expiration of the guard interval 320 a but before time T3 a which is the end of node 322 a's synchronization window 316 a. Requiring network nodes to at least attempt to communicate their respective synchronization frames within the synchronization window 316 enables node synchronization while at the same time reduces power consumption.

At the time node 322 a broadcasts its synchronization frame SF 305 a, it may load its state information therein. In a preferred embodiment the state information may include the time difference between node 322 a's scheduled wakeup time T1 a and the timing of node 322 a's broadcasting of its synchronization frame SF 305 a at time Ta. Once the synchronization frame SF 305 a is received by network node 322 b, the time difference between node 322 a's scheduled wakeup time 324 a and the timing of node 322 a's broadcasting of SF 305 a (the time delta ta) can be extracted from the frame and used to calculate the duration of the synchronization interval 312 b and to schedule the next wakeup time 326 for node 322 b. In particular, from the state information extracted from SF 305 a, node 322 b can compare node 322 a's scheduled wakeup time 324 a with its own wakeup time 324 b to determine the time difference T1 b−T1 a. In a preferred embodiment, this time difference T1 b−T1 a can then be divided by two and the resulting time used as the time period for adjusting node 322 b's synchronization interval 312 b.

As shown, if network node 322 a's scheduled wakeup time occurs before network node 322 b's scheduled wakeup time, then the timing of the synchronization interval time period 112 a may be adjusted by network node 322 a subtracting one-half of the calculated time difference T1 b−T1 a from its synchronization interval time period 312 a and broadcasting at a time sooner by that amount for the next cycle. But if network node 322 a's scheduled wakeup time occurs after network node 322 b's scheduled wakeup time (not shown), then the timing of the synchronization interval time period 112 a may be adjusted by network node 322 a adding one-half of the calculated time difference T1 b−T1 a to its synchronization interval time period 112 a.

Similarly, the process may be conducted for network node 322 a except that the timing of the synchronization interval time period can be adjusted in the opposite direction as shown in the illustrated embodiment of FIG. 3B. The respective scheduled wakeup times for the network nodes can then be scheduled accordingly. The state information may also include node 322 a's scheduled wakeup time in which case it can be extracted directly from the synchronization frame and used to calculate the duration of the synchronization interval 312 b and to schedule the next wakeup time 326 for node 322 b as above.

Likewise, when node 322 b broadcasts its synchronization frame SF 305 b, it may load its state information therein. Once the synchronization frame SF 305 b is received by network node 322 a the time difference between node 322 b's scheduled wakeup time T1 b and the timing of node 322 b's broadcasting of its synchronization frame SF 305 b (time delta tb) can be extracted from the frame and used to calculate the duration of its synchronization interval 312 a and to schedule its next wakeup time 326 for node 322 a as above. In this manner, the synchronization between nodes 322 a and 322 b may be configured to converge within two or three synchronization frames/cycles.

As an illustrative example, a receiving node (“RNode”) may be configured to record the time it received a synchronization frame from a broadcasting node (“TNode”) and to record the difference between the arrival time of the synchronization frame and the next planned listen window 314 start time. In certain embodiments this can be used by any RNode to derive the timing for the next synchronization cycle 318. When a new synchronization frame arrives the RNode can divide by two the difference in timing between the wakeup time of the RNode as determined by its own internal clock and the scheduled wakeup time of the TNode as determined from the TNode's state information in the synchronization frame and the receipt time of the synchronization frame.

In one embodiment the state information in the synchronization frame includes the time difference (delta) between the TNode's scheduled wakeup time and the time the TNode broadcasted its message onto the network. If a new synchronization frame is received, the RNode can determine the synchronization interval 312 based on comparing the TNode's state information in the synchronization frame with its receipt time. The RNode can then determine the time difference and then add (or subtract) the time difference to its synchronization interval to compute the next scheduled wakeup time for the RNode to initiate its next listen window 318 in the next synchronization cycle. This sequence can be performed recursively for each subsequent synchronization interval to synchronize clocks and to minimize clock jitter between the nodes communicating on the network. In embodiments, this methodology may be configured to converge within two or three synchronization frames 205.

When new network nodes 322 come along that do not know the synchronization interval 312, they can wait and listen with radio on for the duration of the listen window 314.

Minimize Power Consumption

In a network node the power cost of each useful message can be expressed as a number of watts (W) per bit of useful information. Thus, if it takes 1 W to broadcast a 100-bit useful message this is a power cost of 1/100 watts per bit. There are a number of things that can affect the useful message power, including the physical design of the radio and antenna, the routing protocol overhead involved in delivering the useful message to the intended recipient, and the channel utilization for reaching multiple correspondent nodes. The two primary sources of power cost include the radio for transmitting and receiving network messages and the microcontroller for processing those network messages. For any given radio there are two principal ways to reduce the power cost of delivering a network message: by ensuring the radio is off for as much time as is possible and by reducing the routing protocol overhead required for network message delivery. When a radio is off, it is not listening for network traffic, and thus is not using any power during that period. But radios cannot receive transmissions from correspondents until power is restored. A fundamental problem with turning off the radio is knowing when to turn it back on again to send and receive new messages.

In line with this, taking a variation of 5 ppm as a typical or representative example maps to a clock variation of plus or minus 6 milliseconds over 20 minutes (20×60×1000=1,200,000 milliseconds). Thus, when using a clock chip with a guard interval 320 of 6 milliseconds, the maximum time a node could be asleep and remain synchronized with its neighbors would be 20 minutes. In reverse, if the guard interval 320 is set to plus or minus 5 milliseconds, the synchronization interval 312 can be as long as approximately 18 minutes. This design technique can result in a sleep duty cycle of 99%, thus providing significant energy savings. The longer the synchronization interval 312 is constructed in relation to the synchronization window 316 and the guard interval 314, the more energy savings can be realized. The downside is a negative impact on data rate because network messages can only be communicated while network nodes are awake. But for many IoT applications, this is acceptable since sensors do not need to send and/or receive a constant stream of data to be used effectively. For instance, in a sensor network, one node may be measuring temperature, another air pressure, and a third air flow.

In aspects, each network node may include a pending message queue (not shown) and may be configured to broadcast network messages at the head of a pending message queue. The network node can thereafter move messages that have been broadcast to the tail of the pending message queue after transmission. Synchronization frames 205 and message frames 201 received from the correspondent network nodes can be loaded into the pending message queue. The synchronization frames from correspondent nodes can be used for determining the next listen window 118 start time and for updating the status of message frames 201 in the pending message queue.

FIG. 4A depicts a flow chart of an example embodiment of a process for synchronizing network nodes in a mesh network in accordance with the techniques described in this disclosure. In the illustrated embodiment, process 400A begins at operation 402 wherein a network node in the mesh network performs a power on (or reset) function. Then, at decision block 404 the network node begins listening for synchronization frames on the network. The network node also initiates a listen window timer at operation 406. In one embodiment, the listen window timer can be set simultaneously upon performing the power on function. If no synchronization frames are received during the listen window the network node can repeat operation 404 until a synchronization frame is received or the listen window expires. If the listen window expires the radio can go back into sleep mode until the start of the next listen window. When the listen window time period closes, the radio can power down (stop listening) and set a sleep timer for a power-off interval before the next cycle begins (operation 408).

The pending message queue for each network node can be scanned and any messages can be passed up the message receive stack. Any messages that have been seen before or marked as “received” can be deleted to prevent re-transmission. Additionally, any messages marked as timed out (optional only if TTL is used) can also be deleted. This completes process 400A according to one example embodiment of the techniques described in this disclosure.

FIG. 4B depicts a flow chart of an example embodiment of a process for synchronizing network nodes in a mesh network in accordance with the techniques described in this disclosure. In the illustrated embodiment, process 400B begins at operation 410 in which a network node in the mesh network wakes up upon the expiration of the previous synchronization interval. Network nodes can be configured to wake up according to a scheduled wakeup time. The network nodes can also set a timer to initiate the listen window. At operation 412, the network node can thereafter start broadcasting synchronization frames and message frames to its correspondent nodes. At decision block 414, the network node listens for any synchronization frames and message frames communicated from its correspondent nodes on the network. If a synchronization frame is received, at operation 416 it can be processed, and the listen window timer is adjusted accordingly. Sent frames are also marked as such in operation 416. Process 400B then continues back to decision block 414 wherein the node listens for additional synchronization frames and message frames from its correspondent nodes and the process repeats until additional ones are received.

If a message frame is received process 400B continues to operation 418 wherein the message frame is processed. At operation 420 the network node determines whether it is a destination node for the network message. If so, the message frame can be queued locally at operation 424 for processing and process 400B reverts back to decision block 414 in which the network node can continue listening for additional network traffic. But if not, process 400B continues to operation 422 wherein the message frame is queued for retransmission via rebroadcast message to its correspondents on the wireless mesh network. Process 400B reverts again back to decision block 414 and repeats as appropriate. This completes process 400B according to one example embodiment.

Each synchronization frame can provide a mechanism to ensure that the message has been received by other nodes and that it does not stay in circulation longer than necessary (which can be predetermined or dynamic). Synchronization frames can be configured to supply the details of the most recent frames seen by any given neighbor node. In one preferred embodiment, this information can be used to determine if a sufficient number of neighbor nodes have marked a pending message as ‘seen’ in their respective pending messages queues to identify messages that are not worthy of re-transmission. Probability can be used to determine if a sufficient number of neighbor nodes have seen a given message. If the number of neighbors that have seen a message is greater than some number of the nodes that are currently visible on the network, the receiving node may delete the message on the basis that using the same algorithm at each correspondent node will result in a high probability the message can be expected to propagate from one or more neighbors to all network nodes that have not yet seen the message.

The synchronization frames can also provide a mechanism by which the broadcast of a single message from a forwarding node may be simultaneously received and acknowledged by all receiving nodes without any additional protocol transmission costs other than the single window synchronization frame.

Radio Frequency Collisions

Nodes are constantly listening, and when nothing comes in, they can transmit. But even under this paradigm, network messages may still collide if a neighboring node is broadcasting over the same channel at the same time. A RNode may thus not receive a particular message because it collided with a message the RNode was broadcasting at the time. Conventionally, in such cases the RNode would wait and “back off” until it received the message, and then the RNode would attempt to broadcast its message frame again. Carrier sense multiple access with collision avoidance (“CSMA/CA”) is a well-established technique used to listen for radio frequency (“RF”) carriers just prior to broadcasting a frame and then back off for an interval before trying again. This is a proven technique for handling collisions. But one of the effects of using a synchronized broadcast window is that all the communications that would have happened over an extended interval are now compressed into a much shorter synchronization interval, significantly increasing communications density. This combined with the increased traffic required to communicate other messages besides a network node's own message frames can result in network traffic density easily exceeding the ability of standard CSMA/CA mechanisms to cope.

In addition, the RNode can keep this process going in a recursive loop until the message can be communicated over the network which can burn a lot of power and is completely non-deterministic. There's also the hidden node problem—when nodes cannot handle more than one message at a time, so if two separate nodes broadcast a message to a third node, the messages can experience a collision regardless of instituting any back-off protocol. In at least certain embodiments, since there is no single arbiter of the synchronization window or individual node transmission times, each node can individually communicate its message frames at different times within a broadcast window. In a preferred embodiment, each node may use random numbers to decide when to broadcast during a broadcast window as discussed previously.

The synchronized communications techniques described herein can be adapted to include broadcast interval randomization. Because frames are broadcast to all correspondent nodes, in a well-balanced mesh network there is a high probability that any collision involves a frame that has already been communicated via a different node. Instead of retrying the current transmission, it can simply be terminated and re-queued to be broadcast later in the same synchronization window or the next window. This provides a very simple, and deterministic, method for relinquishing the channel in the face of collision. Any collision in one synchronization window is unlikely to be a collision in a subsequent synchronization window.

The described techniques embrace the fact that collisions occur at times and will need to be dealt with. Probability can also be used for solving the collisions problem. In one aspect, the synchronization frame broadcast time can also be distributed randomly within the synchronization window for both the nodes communicating on the network. The synchronization frames from a particular node can therefore be communicated at any time in a random scatter of probabilities for synchronized transmission. With this feature, each pair of communicating nodes can be adapted to broadcast synchronization frames randomly within the synchronization window. While collisions may still occur, the probability of collisions is substantially reduced because it would require two adjacent nodes to be broadcasting at exactly the same randomly selected time within the synchronization window, which is substantially unlikely.

In at least one embodiment, the same randomness can be used not only for communicating the synchronization frames but also for communicating the network messages as well. That is, useful messages can be broadcast randomly in the same manner as randomly broadcasting the synchronization frames during the synchronization window as described previously.

In other aspects nodes can detect a collision and determine it doesn't care it collided and just communicate the message again on the next synchronization interval, or reschedule another random time to rebroadcast in the current window—i.e. rebroadcast the message again randomly or wait until the next synchronization window and broadcast it randomly again. Nodes can broadcast one random message, two messages, or any number of random messages within each synchronization and/or useful message window. The message time is not the same but moves around from one frame to the next, which makes it significantly unlikely there will be a collision.

In practice however this limitation is not generally significant for the types of applications for which this mesh network is best suited. As mentioned, the majority of messages have multiple paths and the probability of requiring rebroadcast is low. However, where deemed necessary, it is possible to reschedule a second synchronization frame within any remaining synchronization window time period to expedite the communication of certain new or priority messages.

Message Removal

In one embodiment, messages are not queued or rebroadcast; they are for local node (nodes in range) consumption only. Received data messages fall into two categories (i) messages destined for the receiver and (ii) messages destined for another node. Any messages destined for the receiver are handled by the receiver. When the receiver is done with them, they are either returned to the message free list for reuse, or, if the message is a broadcast message, queued for rebroadcast (forwarding). For messages destined for another node, any messages that are not addressed to the node are queued for forwarding. Messages queued for forwarding may be scheduled to be sent at a randomly allocated time slot during the next synchronization window.

After a message is broadcast, it may be discarded. In one aspect, each message is broadcast (or rebroadcast) by each network node only once. In such cases, duplicate message transmissions occur only because multiple nodes may forward the same message.

Probability Forwarding

Message frames waiting to be forwarded in a network node's pending messages queue may be arbitrarily removed by the method of probabilistic frame rebroadcast reduction referred to herein as “probability forwarding”. This process determines the need for message rebroadcast based on the number of neighbor nodes within range and the intended destination of the message. When flood filling a dynamic network of highly mobile network nodes to reach a specific node there is no prior knowledge of the network topology that can be used to optimize delivery. Thus, in flood fill mesh networks, topology information cannot generally be known beforehand. However, it is possible to improve the flood fill technique for dynamic topologies by allowing any given node to choose not to forward certain messages. In at least certain aspects, network nodes in a mobile mesh network have a dynamic topology wherein sometimes network nodes are located in a densely populated region of the network and other times they can be on their own or within range of only one or a few other network nodes. In the circumstance where a node is in the middle of a densely populated part of the network, it is not necessary for every node to forward every message. In such circumstances, it is only necessary for a sufficient number of the nodes to forward a sufficient number of messages such that all, or nearly all, messages are forwarded to all nodes.

Forwarding probability can be defined as a real number in the range between 0 and 1 or as a percentage in the range between 0 and 100 percent. This determines the statistical probability that a message received by any given node will be forwarded on by that node. The application of the forwarding probability process provides a mechanism by which nodes can choose not to forward certain messages. Any set of network nodes within range of each other can choose to rebroadcast a randomly selected subset of the pending message queue. In one embodiment, the rebroadcast subset size may be inversely proportional to the number of neighbors. This technique can improve network bandwidth efficiency by reducing the number of redundant broadcasts and resource requirements.

Nodes may be configured to maintain a neighbor table of their immediate neighbors (correspondents) which need only contain the set of “N” nearest neighbors ordered by signal strength or quality (where N is generally less than all possible neighbors). In one embodiment, a sender node's neighbor table enables it to determine whether or not to drop network messages sooner. For example, referring to FIG. 1, if mesh node 2 and mesh node 5 are found to be in mesh node 1's neighbor table, then destination node 3 receiving mesh node 1's synchronization frame can determine that mesh node 1 and mesh node 5 are neighbors and that mesh node 1 and mesh node 2 are neighbors. Thus, when a synchronization frame comes along containing a list of network messages that have already been received by a network node, they can be recorded as already seen. For example, if mesh node 1 sees mesh node 4's synchronization frame that tells node 1 that a message destined for node 3 has already been delivered to node 3 by node 4, then node 1 does not need to rebroadcast that same message since node 3 already has it. If node 1 knows node 3 has it, then node 1 can decide whether to rebroadcast the message again or to drop it. Such decision depends on the local topology of the network and the number of network nodes.

As soon as a sufficient number of network nodes have a particular message, then the question arises whether the message needs to be rebroadcast at all or dropped. This can be determined statistically, i.e., based on the probability that broadcasting the message will be required for the message to arrive at its intended destination, e.g., node 3, when the message may also proceed to the destination node 3 via at least one neighboring node such as mesh node 4. If there are two nodes that have a particular message in the mesh network, then it may not work so well to drop the message, but if there are five nodes that have the message, then the probability becomes much higher that at least one of those nodes will forward the message to its intended destination. The more network nodes that have received the message locally, the greater the probability the message will be relayed to its destination by at least one of them. More particularly, as long as any TTL expiration is set far enough in the future, chances are good that the message will be relayed to its intended destination node by at least one of the other neighboring nodes. Whereas this technique introduces risk that any given message may fail to be delivered to its intended destination, it works well in many applications. For example, in sensor networks because every data transmission is not necessarily needed for the network to be used effectively. Where reliable transport is a requirement, higher network layers can be used as is well defined in the literature.

Accordingly, the embodiments described herein include innovative techniques whereby each network node may be configured to determine the probability of a message rebroadcast (rebroadcast probability) to be inversely proportional to the number of network nodes it corresponds with (neighbor count). The exact nature of the relationship between the broadcast probability and neighbor count is immaterial except to say that one neighbor should always dictate a broadcast probability of 1; and the worst case where a node maintains a broadcast probability of 1 regardless of neighbors is simply the normal flood fill algorithm case.

The broadcast probability in relation to neighbor count can be determined in any practical way, for example, by assessing the incoming message rate and throttling the rebroadcast rate accordingly. In another instantiation, the relationship may be determined by a probability scaled to the number of neighbors and/or the incoming message rate, message priority, and/or some combination thereof. When using a broadcast probability proportional to a neighbor count, the nodes may tend to self-balance the network traffic over time, and the message load can be dynamically and randomly distributed between network nodes. Forwarding probability may vary from 100 percent when a network node is only in range of one other node and may decrease according to a table of values indexed by the number of neighbor nodes. Such table of proportional values may be set/varied by the particular application.

Probability forwarding may be further optimized by the use of “seen” frame information shared by the neighbor network nodes. The number of neighbors that have already seen a given message frame increases the probability that the message will be deleted from the forwarding queue. If a number of neighbors have already seen a message, the probability is higher that a node that has not already seen it will determine that it has been sent from another node. Thus, the probability that any given node forwards it can be lower (but never zero).

In another embodiment, forwarding probability decisions may be inversely biased by the number of neighbors a node has and the relationship of the network nodes with each other, as determined by each node. Having only one neighbor dictates 100 percent forwarding probability and having 20 neighbors dictates a lower probability. In one embodiment, the specific probability may be determined to be such that the sum of the probabilities of each network node forwarding a given message is at least 100 percent across connected neighbors. To achieve this each node calculates its view of each of its neighbors' probability for rebroadcasting each message and ensures that the balance adds up to at least 100 percent when including the node's own forwarding probability for that same message. Knowing if a given node has received a specific message significantly improves the resolution of probability forwarding. Such forwarding probability value may be further biased by neighbors reported communication signal or link quality. If overall signal integrity quality is high, the probability of successful transmission is correspondingly high, and the need for message forwarding may be correspondingly lower. Conversely, if a network nodes signal quality is lower, the probability of successful transmission is correspondingly lower, and the need for message forwarding may be correspondingly higher.

FIGS. 5A-5E depict probability forwarding among nodes in a mesh network in accordance with the techniques described in this disclosure. In one embodiment, a multi-hop meshed network for battery-powered mobile devices may be utilized. In FIG. 5A there is only one network node with no other nodes in range, and so that node does not receive any frames to forward, and thus has a probability forwarding of zero. In FIG. 5B there are two nodes in range of each other. In this case the nodes are in direct communication with all nodes within range, and thus do not receive any frames that are not already available to each other. FIG. 5C depicts three network nodes. In this case, one node is within range of Nodes A and C, but Node B has two nodes within range. Node A and Node C are hidden from each other and have no neighbors besides Node B. Node B may self-assess a forwarding probability of 100 percent since each message received from Node A destined for Node C requires forwarding from Node B, and each message received from Node C destined for Node A also requires forwarding from Node B. Since Node A and Node C have no neighbor nodes within range except for Node B, they each self-assess a forwarding probability of zero.

FIG. 5D depicts three nodes with each node mutually within range of two other nodes. In this case each node may determine to selectively forward messages based on a self-assessed probability of 50 percent. The probability forwarding assessment may be based on the inverse of the number of network nodes within range of each network node. FIG. 5E depicts Node B is within range of three network nodes A, C and D. Nodes A, B and C that are mutually within range of two other network nodes. But Nodes A and C are not within range of network node D. Each network node may selectively forward network messages according to its self-assessed probability in accordance with where it resides in the network topology map constructed by each network node, relative to each of its neighbors within range, and derived from the state information extracted from each received synchronization frame. Simplistically, network Nodes A and C may have a forwarding probability of 50 percent (e.g., ½) because they are within range of two other nodes that are each within range of each other (using the inverse of the network nodes within range formula as above), whereas communications from network node D are forwarded by Node B to either Node A or Node C with a forwarding probability of 100 percent. Network node B may determine that Node D is not within range of nodes A and C (and vice versa). Thus node B may forward messages from Nodes A and C to Node D with a forwarding probability of 100 percent to ensure those messages are received by node D, but may forward messages from Nodes A and C to Node B with a probability forwarding of 50 percent (i.e., ½). Node D does not forward any frames since no other nodes are within range. As can be seen, each node has the information required to independently decide as to the disposition of each message in its own forwarding queue. The exact determination may be varied according to specific network needs and characteristics.

In addition, the probability forwarding may be biased up or down based on statistical analysis of network traffic in relation to the network nodes. For instance, the forwarding probability is biased to account for any indeterminacy in radio frequency (RF) transmission or risk of lost frames. In one aspect the forwarding probability is biased in favor of network nodes that are determined to have sub-optimal communication quality with respect to the network node and unbiased for network nodes that are determined to have acceptable communication quality. Moreover, the forwarding probability may change dynamically in accordance with changes in the network topology. In embodiments the forwarding probability may be updated or modified without requiring any deterministic routing information analysis. Any delay in determining changes in the network topology may be reduced or eliminated because the network topology is determined at each synchronization interval.

FIG. 6 depicts a flow chart of an example embodiment of a process for probability forwarding of messages in a mesh network in accordance with the techniques described in this disclosure. In the illustrated embodiment, process 600 begins at operation 601 wherein incoming frames are received and the frame type is detected. Received message frames are categorized by the message receiver as either synchronization (“Sync”) frames or message frames (i.e., network messages). If a message frame is detected at operation 601, it is moved through a seen frames filtering process (operation 603)—see “Duplicate Frames” section discussed below—and placed into a pending messages queue (operation 605). The messages queue 605 holds the message frames that a network node is waiting to forward. Messages may be randomly assigned a transmission slot time for transmission during a synchronization window.

But if a synchronization frame is detected, it is analyzed at operation 602 and used to construct a network topology map at operation 604. As previously described, each node may send one synchronization frame at a random time during the sync window. Synchronization frames may contain a Neighbor Table, which in at least certain embodiments is a dynamic record of any given node's neighbors at the time the synchronization frame is sent by that node. By this mechanism each node broadcasts its current ‘node view’ to any other node in range. When received by any other node, this table may be used, in conjunction with similar tables from other nodes to build a neighbor topology. By determining the neighbor topology, any given node can resolve a “neighbors in common” (“NIC”) count for each of the node's neighbors.

Referring to FIG. 5E and related discussion above, it can be seen from the topology that any message not yet seen by A has two paths it could travel to get to A—either from B to A or from C to A. The same goes for a message not seen by B that can traverse the network via either A or C and to C via A or B. The Neighbor Tables for each node will be:

-   -   Node A: Node B, Node C     -   Node B: Node A, Node C, Node D     -   Node C: Node A, Node B

From simple set theory, and by examination, this gives us a set of neighbors in common as:

-   -   Node A & Node B: Node C=>1 Neighbor in common;     -   Node B & Node C: Node A=>1 Neighbor in common;     -   Node B & Node D: −=>0 Neighbors in Common.

This data supports and confirms that the network topology described above provides each node the ability to discern the ‘local’ topology of a node interacting with its immediate neighbors.

Now, generalizing, we can say that any message traveling to Node A can travel over either path Node B=>Node A or Node C=>Node A. Thus either Node B or Node C can choose not to forward such message without risk that Node A will never receive it, as long as they don't both decide to not forward the same message. In this aspect, Node B and Node C do not decide between themselves, they each decide independently. In order that Node B and Node C are unlikely to both decide to not forward any given message, a Forwarding Probability Index (“FPI”) may be determined which is assigned to each message in the queue. In this example, the base probability calculation would be that it is desired for Node B or Node C to forward at least ½, or 1/(NIC+1), frames for Node A. By similar analysis, Node B can deduce that it needs to forward all frames from Node D as there are no other nodes in common between Node D and Node C or Node A.

Referring back to FIG. 6, the forwarding probability may then be determined based on the determined network topology map (operation 606). In one embodiment, if there are “N” number of network nodes within range of a particular network node, the probability forwarding for the particular network node may be given by the inverse of the number of nodes within range or 1/N. Other embodiments are possible, as well as biasing the probability forwarding up or down as discussed previously.

Probability Filtering

The messages may then be filtered at operation 608 based on the forwarding probability provided from operation 606. In the illustrated case, numbers from a random number generator are also provided at operation 609 and used in the message filtering. The probability filter may take the FPI and use a standard probability calculation to generate a forwarding probability for each frame such that (referring to FIG. 5E) Node A has a specific target probability of receiving a frame from either Node B or Node C. Then a random number from the random number generator may be used to statistically forward or dropped frames according to the generated forwarding probability. For example, for a required FPI of 75%, a random number selected from the set of integers 0-99 would forward each time the number is in the range 0-74 and drop the frame each time the number is in the range 75-99. Each node thus selectively forwards any given message received from another node based on a self-assessed forwarding probability being determined by analysis of the network topology map constructed by each node relative to each of its neighbors and derived from details provided by each synchronization frame received from its neighbors.

In generating the forwarding probability, it is anticipated to skew (or bias) the probability to account for incidental factors link network link quality, traffic volumes and historical success metrics. In general the size of the neighbor table in each node need not be large, or the resulting topology analysis complicated. In one implementation a neighbor table size of 8 has proven more than adequate for mesh networks of 100 or more network nodes.

Messages can then be forwarded from the filtered messages in accordance with the determined probability forwarding and/or random number generation at operation 610. Probability forwarding allows the probability that any given node forwards any given message changes dynamically, adaptively, and in lockstep with any change in the immediate vicinity network topology without the need for “network complete” routing information analysis. Also, since network topology is determined locally at each synchronization interval, there generally is little or no delay in determining the effect of a change in network topology. Any given forwarding probability may be biased as needed based on the statistical analysis of traffic in relation to any given node. For instance, the forwarding probability can be biased in favor of nodes that have sub-optimal communications quality (other nodes can ‘shout louder’ to that node). As a result, and in general, forwarding probability may be biased slightly above the strict topological probability to account for the natural indeterminacy in RF transmission and associated risk of lost frames. This process significantly reduces the number of redundant message transmissions in a redundant path flood fill network.

In addition, network nodes have the option to remain on at all times. Another way of doing this would be if not every node needs to turn off. Some nodes could be left powered-up and listening the entire time. This would typically be used where the node has access to a continuous power source. In all other respects, powered nodes are the same as non-powered nodes. Non-powered nodes can wake up and broadcast a synchronization frame and the powered node(s), once a network message is received, can broadcast a network message providing the mesh details, including synchronization interval. This enables improvement in query response for those nodes such that any newly joining node can communicate a query frame at any time and then listen for a broadcast frame containing the current mesh synchronization details. This can reduce the power requirements for joining a mesh. This can also allow for the use of unsynchronized (or pop-up) nodes that simply turn on, broadcast some messages, and then go back to sleep. Such messages can be picked up by any always-on node in the network and delivered via the normal mesh process.

Duplicate Frames

The ‘seen frames’ filtering operation 603 may be used to detect (and optionally discard message frames that have already been seen by a node). Each node includes a mechanism to detect incoming messages it has seen previously to prevent unnecessary propagation of repeated messages. To achieve this, in at least certain embodiments, each node can be adapted to calculate and store (e.g., in local memory) an identifier such as a hash value. In one embodiment, a Pearson Hash value can be calculated for the message frames. A Pearson Hash has the property that the hash value is very sensitive to small changes in the message content. In addition, each broadcast message can be provided with a counter of some that can be incremented whenever a new message is originated. The counter can be configured to wrap relatively quickly (by providing a sufficiently small counter, e.g., 8-bit sequence of values from 0 to 256). Thus, even if a message remains the same over an extended period, the short counter will be changing and causing a change in the Pearson Hash value for that message. The size of the counter (and hence the value it counts to) should be large enough such that no two messages from the same node will remain in circulation throughout the mesh network for a time longer than it takes for the message's counter to wrap. In one aspect, this can be determined based on the originating node's message generation rate. As a result, in at least certain embodiments the network node address, the counter value associated with the network message, and a hash value (calculated by performing a Pearson Hash function on the message contents and the counter value) constitute enough information to sufficiently determine whether a network message has been previously communicated. Arriving network messages that are the same age or older than the most recently received message can be dropped by nodes as redundant. In the illustrated embodiment, the seen frames filtering operation may be configured to receive information relating to the current frame cache at operation 611. This completes process 600 according to one example embodiment.

Addressing

The techniques described herein do not require statically assigned addresses. But “ephemeral” addresses, or node identifiers, may be used for the network nodes. Ephemeral addresses are defined by each node, each time it is added to the network (via separate address resolution protocol). Applications can use any unique name to identify a given node via the device naming protocol. Such techniques include a process whereby each node may randomly assign itself an N-bit ephemeral address and broadcast an address resolution message to correspondent nodes. If the address is resolved within the mesh, then the address is already taken, and the node randomly assigns itself a new address. This cycle continues until the joining node has a unique address. This ephemeral address technique is only good for the particular mesh and may not persist across multiple mesh networks. The ability to create and utilize an ephemeral address is an important simplification that significantly eases the burden of node configuration and address management. One feature includes the ability to track specific nodes using ephemeral addresses.

Summary of Synchronized Communications

These methods together provide the ability to successfully flood-fill a mesh network of nodes with (i) reduced power (radio traffic can be off for significant percentage of time and radio duty cycles of <0.1% are typical; protocol overheads are <4% per 128 byte frame) (ii) reduced resource requirements (memory requirements persist only as long as it takes to move a message out of a node's immediate RF region, and (iii) reduced channel utilization (the ability of the radio to allow frames to be broadcast with reduced frame rebroadcasts and to reduce useful message replication at the recipient node with minimal overhead).

Heat Mapping

Each node may also choose to maintain a heat map of neighboring nodes and source nodes. The heat map provides the probability that any given neighbor will lead to a pathway to a given intended message recipient. The heat map may be built by tracking which neighbor nodes were responsible for delivering messages sourced by the recipient. The network nodes can then use this mapping to determine (i) if a message frame destined for a particular recipient has already been received by a neighbor (via the message receipt table 208) and (ii) the corresponding probability that the message will be dropped when this neighbor has already seen it. By using probabilities that can increase or decrease with changing conditions, the mesh network can dynamically bias its rebroadcast probability in favor of certain nodes in the face of dynamic topologies, as well as stale heatmap information.

While this alone can improve channel efficiency by reducing traveled paths, it is relatively resource hungry and does not scale well, requiring a node table the size of the network in addition to a simple table of immediate neighbors. However, these drawbacks may be mitigated by maintaining a cache of ‘hot nodes’, which may be advantageous over storing large routing tables in deterministic networks. The network node itself maintains a listing of hot nodes or a “hot list” and determines whether or not it is going to favor a particular node based on the hot list. And this can evolve over time as the network adapts to changing network traffic. In the event that the pathway to a hot node becomes compromised or stale over time, other neighbor nodes can become preferred as messages sourced by a previously identified hot node begin to arrive preferentially from other nodes instead. The broadcast nature of message communications in the mesh network and the use of dynamic discard probabilities can be adapted to ensure that other nodes have opportunity to pass along message frames destined for a hot node in the case where a specific network node can no longer be reached by the preferred path.

As previously described, it is possible to improve the flood fill technique for dynamic topologies by allowing any given node to choose not to forward certain messages using probability forwarding. It is possible to further optimize flood fill networking using the notion of a ‘Heat Map’ as a collection of ‘Hot Nodes’ that indicate the fastest or best path from any given node to a specific destination node. The process of managing Hot Nodes and maintaining a Heat Map is collectively known as ‘Heat Mapping’. A Hot Node is defined herein as a network node from which a message frame from any other node was most recently received (i.e., the hot node acted as the conduit for the message originating from a different node), where the notion of ‘most recently received’ is specifically further defined as an aggregate estimation of the probability that a message sent specifically to that Hot Node would be the first message frame of many duplicates of the message frame to reach the destination. Hot Nodes can therefore be both node-specific and node-relative, and there can be an implicit assumption that the send path (from the receiving node to the originating node) has the same associated network costs as the receive path (from the originating node to the receiving node).

A Hot Node list (or table) can be used to bias the probability forwarding of specific destination messages from any given node in favor of the Hot Node to the possible exclusion of other neighbor nodes. It can be shown that, though forwarding may be biased fully toward one or more nodes, a mesh network using Heat Mapping is still robust to changes in dynamic topology, as all neighbor nodes can be continually listening and making their own forwarding determinations.

In at least a preferred embodiment, a Hot Node is a node-relative estimation of the best path for a message frame from the estimating node to another specific node. Accordingly, Heat Mapping requires the use of some form of node addressing. Since the maintenance of a Hot Node table depends on additional node resources (process time, storage and memory) and some form of node addressing (message overhead), its use is optional for the techniques heretofore described and/or can be used in addition or combination with the previously described techniques.

Node Address Allocation

As has been previously described, flood fill networks do not require addressing for the delivery of messages. However there are, in certain cases, good reasons to know from which node a message has originated and to which node the message is destined. The use of Heat Map optimization is one such use that depends on node addressing, and is thus only available in mesh network embodiments that use some form of node addressing mechanism. Addressing schemes are well described in literature and when required, the preferred embodiment may utilize the specific scheme described herein. As described above, it is possible to assign addresses when a node first joins the network. A network address may be any suitable size, and may be determined at run-time.

When using addressing and joining a network, each node may derive an address from a random number generator and may send out an Address Resolution Query (“ARQ”) frame to determine if the address is already in use. If, after sending an ARQ frame and prior to joining the network, the node receives an Address Resolution Response (“ARP”) frame, the node can regenerate a new address and repeat. In the preferred embodiment, a node may send multiple ARQ frames spaced at suitable intervals to ensure no address collisions exist in the network. If a node does not receive an ARP frame within a specific (configurable) time interval (the ‘join interval’), the node may assume the address is free and begin using it. If during the course of network operation, a network address collision is later detected, each node with the duplicated address can incrementally increase its joining time interval and restart the address allocation protocol. It should be clear from this that the network join time thus becomes a rough approximation for the complete out and back (fill and refill) network traversal time. Other, more robust schemes are possible, but any specific embodiment does not affect that addresses can be dynamically allocated to a particular node when joining the network and the address size can be optimized, e.g., at runtime or as preferred, for minimum transmit power and storage costs. For instance, a network of 256 nodes or less can use an 8-bit addressing scheme. For larger networks the address size can scale to match the size of the network being deployed. The network address size and the join interval may also be shared among network nodes in synchronization frames such that new nodes can join the network without prior knowledge of these network configuration details.

Hot Node Derivation

In addition to an address, each node should be configured to know which neighbor forwarded any given message. This adds to the message overhead each time a message is forwarded by a node. When a message frame arrives the originating and forwarding node pair may be assigned a Heat Index Value that communicates the order in which the message frame was received. Thus, the first message frame from node A, received by node C, via node B can be allocated a value indicating that the message path B was fastest local route from A to C. The next (duplicate) message frame received via a different path indicates the next fastest forwarding path node and is assigned a corresponding Heat Index Value, and so on. In this manner, an ordered Hot Node list can be generated for each originating node. Heat Index Values thus derived may be aggregated over time and the average of those values may be used to define an ordering of Hot Nodes (or ‘Hot Node Order’) for a given originating node. The Hot Node appearing at the top of this list can be designated as the Hot Node for sending message frames back to that particular originating node. This ordering can then be used to further bias the probability forwarding in favor of the Hot Node, thus optimizing message flow through the network and reducing redundant message re-transmission.

For any given node (determining node), a Hot Node may be defined as the neighbor node for which a message frame destined for some destination node, on being delivered to that neighbor node, will traverse the shortest path to the destination node from the determining node. For such determining node, the Hot Node for a particular destination can be determined by tracking the arrival times of duplicate frames sourced from the destination node against the specific neighbor node from which the message frame was received relative to duplicates of the message frame received from the other neighbor nodes. By way of example, referring to FIGS. 7A-7C, a number of message paths are shown graphically for which the Hot Node tables can be derived for each node. FIG. 7A depicts an example embodiment of a heat map mesh network. As shown in FIG. 7B, Hot Node C (relative to determining node H) resides in the path most traveled (‘Hot Node Path’) from node A to node G. Other paths are similarly deduced. In FIG. 7B, the Hot Node for messages sent or being forwarded from node G to nodes A, B or C will be node H, where node H is determined by node G as the deliverer of the first arrivals of message frames sourced by nodes A, B or C. In FIG. 7C, the path from node C to node F can go through either nodes D and E or H and G. Those nodes therefore have an equal Heat Index Value for messages communicated from node C to F. The Hot Node for messages destined for Node C being sent or forwarded from Node F could be either Node E or Node G, each having roughly the same backward propagation times from node F to node C (all other factors being equal). The exact balance between node E and node G would be determined by the relative arrival times of a message frame and its duplicates from node C to node F, which can arrive via the two paths including both node E and node G. The nodes in both paths are considered to have less ‘network heat’, and so the forwarding probability may be biased to either or both sets of nodes. Since in this circumstance the Heat Index Value may be the same for both paths, node C can choose to forward messages through either node D or node H with the same outcome (again, all other factors being equal). The forwarding probability can also be used to load balance across multiple paths.

As has been previously described, each node can keep track of the of the message frames seen from various originating nodes. To conserve space, this can be maintained as a least recently used (“LRU”) cache. In an LRU cache, the most active nodes are the most likely to appear in the cache and ordered by activity. Furthermore, using a shared ‘seen table’, it is possible to further optimize Heat Mapping. The first N message frame entries in this LRU cache may be included in each node's synchronization frame such that any neighbor node may determine which messages the forwarding node has seen. The number N is a tuning parameter and may be configured as a compromise between the cost of processing and transmitting the additional information and the value of Heat Mapping to the overall network throughput.

Upon receiving a synchronization frame including a network node's ‘Seen Message Cache’, the receiving node can determine if a given node has already seen a message in its message queue. If all neighbors report seeing a given message in the node's message queue, that node may determine that the message may immediately be dropped from the forwarding message queue as discussed previously. Further, if the receiving node's Hot Node for a given message destination has seen that message, then that message may also be given a higher probability of being dropped. Typically, all such messages are dropped (0% Forwarding Probability). However, maintaining some low Forwarding Probability assists in path loss recovery (as described below) which is a network tuning parameter.

In this manner, over time an optimized path may be navigated simply by each node tracking information about the network node that first delivered a message frame from a given source node via any of its neighbors. From this description it should be clear that each node, individually, can create a preferred forwarding path for any destination by tracking that destination node as an originating node for a message frame. Though the neighbor nodes never get to see it, the aggregate view of each node's Hot Node table provides the details regarding the fastest paths through the network from each originating node to each other node. This is, collectively, referred to herein as the network ‘Heat Map’.

In other embodiments, the Hot Node designation may be added to the message frame when forwarding as an instruction to the Hot Node to always forward frames, and for other neighbor nodes to use reduced forwarding probability. In other embodiments, the corresponding neighbors may use their own knowledge of both the state of the nominated Hot Node and their own Hot Node for that destination to determine their own forwarding probability.

Path Redundancy

Finally, it is important to highlight the dynamic nature of the Hot Node tables. By averaging the Heat Index Values over time, the Hot Node may be spread across a collection of neighbors, thus providing an optimized, but still redundant path. Further, although each node may bias 100% Probability Forwarding toward the Hot Node for a given destination, because the mesh uses broadcast messages and every neighbor will receive and probably forward each such message in the mesh network, path redundancy is thus still implicit to the method. If a path is lost, for instance, a Hot Node is removed, any given message can still be forwarded and seen by all neighbors. In addition, the destination Hot Node table may be aged and eliminated entirely if no messages are received from the destination.

Thus Heat Mapping provides a means of reducing redundant transmissions in a flood fill network without loss of path redundancy. However, it should be clear from this description that Heat Mapping is only useful if the rate at which a node is physically moving (the rate of topological change) is less than the rate at which the node is generating messages. This will vary in time and deployment and thus Heat mapping is an optimization, not a requirement.

FIG. 8 depicts a flow chart of an example embodiment of a process for probability forwarding of message frames used in combination with hot nodes in a mesh network in accordance with the techniques described in this disclosure. In the illustrated embodiment, process 800 begins at operation 801 wherein incoming frames are received and frame type is detected. Received frames are categorized by the message receiver as either synchronization frames or message frames. If a message frame is detected at operation 801 it can be processed at operation 803 to determine if the message frame has been previously seen. A current frame cache may be accessed to make such determination at operation 807. If the message frame has been previously seen by the network node it can be identified as a duplicate message frame and discarded (see “Duplicate Frames” section above). If the message frame has not been previously seen by the network node, it can be placed into a pending messages queue for re-transmission out onto the wireless radio network (operation 805). The pending messages queue can be configured to store the message frames that a network node is waiting to forward. Message frames may be randomly assigned a transmission slot time for re-transmission during a synchronization window.

On the other hand, if a synchronization frame is detected at operation 801 it can be analyzed at operation 802 and used to construct a neighbor topology map at operation 804. The neighbor topology map may include information about which nodes are within range of a particular network node for wireless communications and the signal strength associated with each neighbor node relative to the network node. As previously described, each network node may send one synchronization frame at a random time during the synchronization window. Synchronization frames may contain a neighbor table which, in at least certain embodiments, may comprise a dynamic record of any given node's neighbors at the time the synchronization frame was sent. That is, using the synchronization frames, each node may broadcast its current ‘node view’ to any other node within range. When received by any other neighbor node, the neighbor may use the neighbor table, in conjunction with similar tables received from other nodes corresponding on the wireless radio network, to construct the neighbor topology map (operation 804). Also any given network node can resolve a ‘neighbors in common’ (NIC) count for each of the node's neighbors based on the neighbor topology map. In addition, a table of messages already seen by the network node's neighbors may be constructed based on information derived from the synchronization frames (operation 806).

As discussed previously, when message frames arrive, the associated originating/forwarding node pairs may be given Heat Index Values indicating the order in which the message frames were received relative to duplicates of the message frames received from other originating/forwarding node pairs along different paths in the mesh network. At operation 808, the network node can use this information to construct a Hot Node table based on the aggregate ordered listing of Heat Index Values for the originating/forwarding node pairs in the network. As discussed previously, the Heat Index Values may be aggregated over time and the average of those values may be used to define an ordering of Hot Nodes for a given originating node. The originating/forwarding node pair appearing at the top of this list can be used to identify Hot Nodes for communicating messages back to the originating node.

At operation 820, a biased forwarding probability may then be determined based on a combination of inputs from the neighbor topology map (operation 804), the table of messages already seen by neighbors (operation 806), and the hot node table (operation 808). The message frames may then be filtered at operation 809 based on the results of operation 820. In the illustrated embodiment, numbers from a random number generator may also supplied and used in the message filtering (operation 810). The probability filter may use a standard probability calculation to generate a forwarding probability for each frame and a random number provided from the random number generator may be used to statistically forward or drop frames according to the generated forwarding probability. Message frames can then be forwarded from the filtered messages in accordance with the determined probability forwarding and/or random number generation (operation 812).

In generating the forwarding probability, it is anticipated to skew (or bias) the probability to account for incidental factors link network link quality, traffic volumes, and historical success metrics. Any given forwarding probability may be biased as needed based on the statistical analysis of network traffic in relation to any given node. For instance, the forwarding probability can be biased in favor of nodes that have sub-optimal communications quality (other nodes can ‘shout louder’ to that node). As a result, and in general, forwarding probability may be biased slightly above the strict topological probability to account for the natural indeterminacy in RF transmissions and associated risk of lost frames. This process can significantly reduce the number of redundant message transmissions in a redundant path flood fill network. This completes process 800 according to one example embodiment.

FIG. 9 depicts an example overview block diagram of a typical node radio system upon which the embodiments described in this disclosure may be implemented. Notwithstanding, embodiments of the present disclosure may be practiced using various computer systems including hand-held devices, microprocessor systems, programmable electronics, laptops, tablets and the like. The embodiments can also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through one or more wire-based or wireless networks. A hardware and/or software module may be implemented mechanically, electronically, or any suitable combination thereof. Computer hardware may include dedicated circuitry or logic that is permanently configured to perform certain operations. For example, a hardware module may be a special-purpose processor, such as a Field Programmable Gate Array (“FPGA”) or an Application Specific Integrated Circuit (“ASIC”), Programmable Logic Device (“PLD”), etc. Computer hardware module may also include programmable logic or circuitry that is temporarily configured by software to perform operations. For example, computer hardware may include software executed by a general-purpose processor or other programmable processor. Once configured by such software, hardware modules may become specific machines (or specific components of a machine) tailored to perform one or more configured functions.

It will be appreciated by persons of skill in the art that the decision to implement a hardware module mechanically in dedicated and permanently configured circuitry or in temporarily configured circuitry (e.g., configured by software) may be driven by cost and time considerations. Accordingly, the phrase “hardware module” should be understood to encompass a tangible entity, be that an entity that is physically constructed, permanently configured (e.g., hardwired), or temporarily configured (e.g., programmed) to operate in a certain manner or to perform certain of the operations described in this disclosure. Similarly, the functions described in this disclosure may be at least partially processor implemented, with a particular processor or processors being an example of computer hardware. For example, at least some of the operations described herein may be performed by one or more processors or processor-implemented hardware modules. Moreover, the one or more processors may also operate to support performance of the relevant operations in a cloud computing environment or as software as a service (“SaaS”). In addition, at least some of the operations may be performed by a group of computers (as examples of machines including processors), with these operations being accessible via a network (e.g., the Internet) and via one or more appropriate interfaces, e.g., an application programming interface (“API”).

Although illustrative embodiments have been described herein with reference to the accompanying drawings, it is to be understood that the present invention is not limited to those precise embodiments, and that various other changes and modifications may be affected therein by one skilled in the art without departing from the scope or spirit of the invention. 

What is claimed is:
 1. A method of forwarding message frames in a mesh network based on a heat map of hot nodes, the method comprising: at a network node comprising a mobile device that includes a processor, a memory, an internal clock, and a radio for communicating with a plurality of network nodes over a wireless radio network, wherein each network node only communicates with its correspondent network nodes using broadcast network messages and each network node is configured for rebroadcasting network messages it receives to its correspondent network nodes on the wireless radio network without requiring any addressing scheme or deterministic network routing protocol, the network node adapted to perform operations comprising: broadcasting a synchronization frame over the wireless radio network in accordance with a synchronization interval; receiving one or more synchronization frames broadcasted from one or more correspondent network nodes on the wireless radio network; deriving state information from each received synchronization frame; analyzing the state information to determine which of a plurality of network nodes on the wireless radio network are correspondent network nodes that are within range of the network node for wireless communications over the wireless radio network; constructing a map of the topology of the correspondent network nodes based on the state information derived from the synchronization frames; identifying hot nodes as those nodes in paths of originating node/forwarding node pairs that are the first nodes to forward message frames to the network node in the wireless radio network as compared to nodes forwarding duplicates of the message frames along different paths of originating/forwarding node pairs in the wireless radio network; constructing a hot node table based on the identified hot nodes over a period of time; determining a forwarding probability for each received message frame based on the map of the topology of the correspondent network nodes and the hot node table; and broadcasting and rebroadcasting message frames to the correspondent network nodes on the wireless radio network in accordance with the determined forwarding probability.
 2. The method of claim 1 further comprising determining a preferred forwarding path for message frames to the originating nodes via the hot nodes.
 3. The method of claim 1 wherein the forwarding probability for rebroadcasting each message frame is determined based on the likelihood the message frame will be rebroadcast onto the wireless radio network by one or more of the correspondent network nodes.
 4. The method of claim 1 further comprising assigning a higher probability of dropping a received message frame when it is determined that a hot node has previously seen that message frame.
 5. The method of claim 1 further comprising biasing the forwarding probability of message frames in favor of the hot nodes in accordance with the hot node table.
 6. The method of claim 1 further comprising: assigning a heat index value to each originating node/forwarding node pair that indicates an order in which a message frame was received as compared to duplicates of that message frame received from one or more different originating node/forwarding node pairs along one or more different paths in the wireless radio network; and generating the hot node table based on ordering the originating node/forwarding node pairs in accordance with the heat index values.
 7. The method of claim 1 further comprising: aggregating heat index values assigned to each originating node/forwarding node pair over a time interval in accordance with when message frames and duplicates thereof are received; and generating the heat map for the wireless radio network based on the heat index values in the aggregate.
 8. The method of claim 1 further comprising storing in a message queue one or more received message frames to be rebroadcast over the wireless radio network.
 9. A mobile communications device configured as a network node for broadcasting message frames in a wireless radio network, the mobile communications device comprising: a processor; a memory; an internal clock; and a radio for communicating with a plurality of network nodes over a wireless radio network, wherein each network node only communicates with its correspondent network nodes using broadcast network messages, and each network node is configured for rebroadcasting network messages it receives to correspondent network nodes on the wireless radio network without requiring any addressing scheme or network routing protocol, the mobile communications device adapted to perform operations comprising: broadcasting a synchronization frame over the wireless radio network in accordance with a synchronization interval; receiving one or more synchronization frames broadcasted from one or more correspondent network nodes on the wireless radio network; deriving state information from each received synchronization frame; analyzing the state information to determine which of a plurality of network nodes on the wireless radio network are correspondent network nodes that are within range of the network node for wireless communications over the wireless radio network; constructing a map of the topology of the correspondent network nodes based on the state information derived from the synchronization frames; identifying hot nodes as those nodes in paths of originating node/forwarding node pairs that are the first nodes to forward message frames to the network node in the wireless radio network as compared to nodes forwarding duplicates of the message frames along different paths of originating/forwarding node pairs in the wireless radio network; constructing a hot node table based on the identified hot nodes over a period of time; determining a forwarding probability for each received message frame based on the map of the topology of the correspondent network nodes and the hot node table; and broadcasting and rebroadcasting message frames to the correspondent network nodes on the wireless radio network in accordance with the determined forwarding probability.
 10. The mobile communications device of claim 9 wherein the operations further comprise determining a preferred forwarding path for message frames to the originating nodes via the hot nodes.
 11. The mobile communications device of claim 9 wherein the forwarding probability for rebroadcasting each message frame is determined based on the likelihood the message frame will be rebroadcast onto the wireless radio network by one or more of the correspondent network nodes.
 12. The mobile communications device of claim 9 wherein the operations further comprise assigning a higher probability of dropping a received message frame when it is determined that a hot node has previously seen that message frame.
 13. The mobile communications device of claim 9 wherein the operations further comprise biasing the forwarding probability of message frames in favor of the hot nodes in accordance with the hot node table.
 14. The mobile communications device of claim 9 wherein the operations further comprise: assigning a heat index value to each originating node/forwarding node pair that indicates an order in which a message frame was received as compared to duplicates of that message frame received from one or more different originating node/forwarding node pairs along one or more different paths in the wireless radio network; and generating the hot node table based on ordering the originating node/forwarding node pairs in accordance with the heat index values.
 15. The mobile communications device of claim 9 wherein the operations further comprise: aggregating heat index values assigned to each originating node/forwarding node pair over a time interval in accordance with when message frames and duplicates thereof are received; and generating the heat map for the wireless radio network based on the heat index values in the aggregate.
 16. The mobile communications device of claim 9 wherein the operations further comprise storing in a message queue one or more received message frames to be rebroadcast over the wireless radio network.
 17. A non-transitory computer readable medium configured for storing programmed computer code executable by a processor to perform operations implementing a mesh network at a network node, the network node comprising a mobile communications device that includes a processor, a memory, an internal clock, and a radio for communicating with a plurality of network nodes over a wireless radio network, wherein each network node only communicates with its correspondent network nodes via broadcast network messages, and each network node is configured for rebroadcasting network messages it receives to its correspondent network nodes communicating on the wireless radio network without requiring any addressing scheme or network routing protocol, and wherein the network nodes are configured for synchronized communications over the wireless radio network based on broadcasting synchronization frames in accordance with a synchronization interval, the operations comprising: broadcasting a synchronization frame over the wireless radio network in accordance with a synchronization interval; receiving one or more synchronization frames broadcasted from one or more correspondent network nodes on the wireless radio network; deriving state information from each received synchronization frame; analyzing the state information to determine which of a plurality of network nodes on the wireless radio network are correspondent network nodes that are within range of the network node for wireless communications over the wireless radio network; constructing a map of the topology of the correspondent network nodes based on the state information derived from the synchronization frames; identifying hot nodes as those nodes in paths of originating node/forwarding node pairs that are the first nodes to forward message frames to the network node in the wireless radio network as compared to nodes forwarding duplicates of the message frames along different paths of originating/forwarding node pairs in the wireless radio network; constructing a hot node table based on the identified hot nodes over a period of time; determining a forwarding probability for each received message frame based on the map of the topology of the correspondent network nodes and the hot node table; and broadcasting and rebroadcasting message frames to the correspondent network nodes on the wireless radio network in accordance with the determined forwarding probability.
 18. The non-transitory computer readable medium of claim 17 wherein the operations further comprise determining a preferred forwarding path for message frames to the originating nodes via the hot nodes.
 19. The non-transitory computer readable medium of claim 17 wherein the forwarding probability for rebroadcasting each message frame is determined based on the likelihood the message frame will be rebroadcast onto the wireless radio network by one or more of the correspondent network nodes.
 20. The non-transitory computer readable medium of claim 17 wherein the operations further comprise assigning a higher probability of dropping a received message frame when it is determined that a hot node has previously seen that message frame.
 21. The non-transitory computer readable medium of claim 17 wherein the operations further comprise biasing the forwarding probability of message frames in favor of the hot nodes in accordance with the hot node table.
 22. The non-transitory computer readable medium of claim 17 wherein the operations further comprise: assigning a heat index value to each originating node/forwarding node pair that indicates an order in which a message frame was received as compared to duplicates of that message frame received from one or more different originating node/forwarding node pairs along one or more different paths in the wireless radio network; and generating the hot node table based on ordering the originating node/forwarding node pairs in accordance with the heat index values.
 23. The non-transitory computer readable medium of claim 17 wherein the operations further comprise: aggregating heat index values assigned to each originating node/forwarding node pair over a time interval in accordance with when message frames and duplicates thereof are received; and generating the heat map for the wireless radio network based on the heat index values in the aggregate.
 24. The non-transitory computer readable medium of claim 17 wherein the operations further comprise storing in a message queue one or more received message frames to be rebroadcast over the wireless radio network. 